package com.study.manage.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.EAState;
import com.study.manage.domain.enumm.EvaluateApplyType;
import com.study.manage.domain.enumm.EvaluateApplyVerifyState;
import com.study.manage.domain.enumm.EvaluateVerify;

@Entity
@Table(name = "sa_evaluate_apply")
public class EvaluateApply extends AbstractEntity {

    private static final long serialVersionUID = 4381870002953141878L;

    public Long evaluateId;
    public Long userId;
    public String text;
    public String parentText;
    /** 晋级时间 */
    public Date passAt;
    /** 报名成功时间 */
    public Date successTime;
    /** 名字 */
    public String fullName;
    /** 电话 */
    public String phone;
    /** 组别 */
    public String groupName;
    /** 缴费状态 */
    public EAState state;
    /** 审核状态 */
    public EvaluateApplyVerifyState verifyState = EvaluateApplyVerifyState.DPS;
    /** 报名状态 */
    public EvaluateVerify verify = EvaluateVerify.Pass;
    public Long evaluatePriceId;
    /** 备注 */
    public String remark;
    /** 推荐人Id */
    public Long referenceId;
    public String number;
    @Column(name = "typee")
    public EvaluateApplyType type = EvaluateApplyType.USER;
    public String itemName;
    public String advName;

    public EvaluateApply() {}

    public EvaluateApply(Long id) {
        this.id = id;
    }

    public Long getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(Long evaluateId) {
        this.evaluateId = evaluateId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getParentText() {
        return parentText;
    }

    public void setParentText(String parentText) {
        this.parentText = parentText;
    }

    public Date getPassAt() {
        return passAt;
    }

    public void setPassAt(Date passAt) {
        this.passAt = passAt;
    }

    public EAState getState() {
        return state;
    }

    public void setState(EAState state) {
        this.state = state;
    }

    public EvaluateApplyVerifyState getVerifyState() {
        return verifyState;
    }

    public void setVerifyState(EvaluateApplyVerifyState verifyState) {
        this.verifyState = verifyState;
    }

    public EvaluateVerify getVerify() {
        return verify;
    }

    public void setVerify(EvaluateVerify verify) {
        this.verify = verify;
    }

    public Long getEvaluatePriceId() {
        return evaluatePriceId;
    }

    public void setEvaluatePriceId(Long evaluatePriceId) {
        this.evaluatePriceId = evaluatePriceId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getReferenceId() {
        return referenceId;
    }

    public void setReferenceId(Long referenceId) {
        this.referenceId = referenceId;
    }

}
